package com.starlink.model.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.starlink.common.domain.BaseVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author zhanghong
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
@ApiModel("商城购物车详情响应模型")
public class ShoppingCartDetailVO extends BaseVO implements Serializable {
    @ApiModelProperty("购物车ID")
    private Long shoppingCartId;
    @ApiModelProperty("商品ID")
    private Long articlesId;
    @ApiModelProperty("规格ID")
    private Long specificationId;
    @ApiModelProperty("是否下单 0否 1是")
    private Integer isOrNotBuy;
    @ApiModelProperty("商品类别 1书籍 2周边")
    private Integer articlesCategory;
    @ApiModelProperty("数量")
    private Long quantity;

    @ApiModelProperty("名称")
    private String title;
    @ApiModelProperty("封面")
    private String picture;
    @ApiModelProperty("0:下架 1:上架")
    private Integer onTheShelf;
    @ApiModelProperty("普通用户价格")
    private BigDecimal price;
    @ApiModelProperty("vip用户价格")
    private BigDecimal vipPrice;
    @ApiModelProperty("规格")
    private String specification;
    @ApiModelProperty("库存")
    private Integer inventory;
}
